package model.path;

import java.util.Stack;

import matrix.GraphNode;

public class DijkstraResult
{
	private Stack<GraphNode> path;
	private double length = 0;
	
	public DijkstraResult(Stack<GraphNode> nodes, double length)
	{
		this.path = nodes;
		this.length = length;
	}
	
	public Stack<GraphNode> getNodes()
	{
		return this.path;
	}
	
	public double getLength()
	{
		return this.length;
	}
}
